<?php

namespace common\ui\backend\widgets;

use yii\base\Widget;

/**
 *
 */
class HeaderWidget extends Widget
{
    public $searchEnable = false;

    public $navItems = [];

    public function run()
    {
        echo $this->render('header', [
            'navItems' => $this->navItems,
            'searchEnable' => $this->searchEnable
        ]);
    }
}